<template>
	<view class="home">
		<header :style="'padding-top: '+top+'px;height: '+(135+top)+'px;'">
			<image :style="'height: '+(135+top)+'px;'" src="../../static/home/1.png" mode="aspectFill"></image>
			<view @click="spik('pages/homeList/search/search')">
				<span>
					<image src="../../static/home/2.png" mode="widthFix"></image>
				</span>
				<p>请输入关键字</p>
				<i>搜索</i>
			</view>
		</header>
		<nav>
			<view v-if="data.is_view==1" class="introduce" @click="spik('pages/homeList/introduce/introduce')">
				<image :src="URLimg+data.vidoe.index"></image>
				<span>查看更多</span>
			</view>
			<view v-if="data.is_view==0" class="introduce">
				<image :src="URLimg+data.vidoe.index"></image>
			</view>
			<view class="swiper" @click="spik('pages/homeList/agreement/agreement?title=公司详情&type=company_profile ')">
				<swiper circular :autoplay="true" class="x-swiper" @change="change">
					<swiper-item v-for="val in data.banner_list" :key="val">
						<image mode="aspectFill" :src="URLimg+val"></image>
					</swiper-item>
				</swiper>
				<p><span :class="{'optFor':index==ins}" v-for="(val,ins) in data.banner_list.length"></span></p>
			</view>
		</nav>
		<view class="signIn">
			<view class="coupon">
				<span>新人福利</span>
				<view v-for="val in data.coupon">{{val.coupon_name}}
					<view>
						<p>
							<span><text>￥</text>{{val.amount}}</span>
							{{val.less_amount?'满'+val.less_amount:'无门槛'}}
						</p>
						<span v-if="data.order_num!=0">已过期</span>
						<span v-else-if="val.is_coupon==0" @click="setUser(val)">点击领取</span>
						<span v-else>已领取</span>
					</view>
				</view>
			</view>
			<p v-if="data.is_signIn==0" @click="signIn">积分签到</p>
			<p v-if="data.is_signIn!=0" @click="apifun.toast('今日已签到')">积分签到</p>
		</view>
		<view class="classify" v-if="data.goods.seckill.length">
			<header @click="spik('pages/homeList/seckill/seckill?title=超级秒杀&parameter=1')">
				超级秒杀
				<p>查看更多
					<u-icon name="arrow-right" color="#666666" size="20"></u-icon>
				</p>
			</header>
			<main>
				<view v-for="val in data.goods.seckill"
					@click="spik('pages/homeList/detailedness/detailedness?id='+val.id+'&type=1')">
					<image :src="URLimg+val.image" mode="aspectFill"></image>
					<p>{{val.name}}</p>
					<view>
						<span><text>￥</text>{{val.sell_price}}<text></text></span>
						<i>￥{{val.market_price}}</i>
					</view>
				</view>
			</main>
		</view>
		<view class="classify" v-if="data.goods.recommend.length">
			<header @click="spik('pages/homeList/seckill/seckill?title=店长推荐&parameter=2')">
				店长推荐
				<p>查看更多
					<u-icon name="arrow-right" color="#666666" size="20"></u-icon>
				</p>
			</header>
			<main>
				<view v-for="val in data.goods.recommend"
					@click="spik('pages/homeList/detailedness/detailedness?id='+val.id+'&type=1')">
					<image :src="URLimg+val.image" mode="aspectFill"></image>
					<p>{{val.name}}</p>
					<view>
						<span><text>￥</text>{{val.sell_price}}<text></text></span>
						<i>￥{{val.market_price}}</i>
					</view>
				</view>
			</main>
		</view>
		<view class="classify" v-if="data.goods.new_product.length">
			<header @click="spik('pages/homeList/seckill/seckill?title=新品精选&parameter=3')">
				新品精选
				<p>查看更多
					<u-icon name="arrow-right" color="#666666" size="20"></u-icon>
				</p>
			</header>
			<main>
				<view v-for="val in data.goods.new_product"
					@click="spik('pages/homeList/detailedness/detailedness?id='+val.id+'&type=1')">
					<image :src="URLimg+val.image" mode="aspectFill"></image>
					<p>{{val.name}}</p>
					<view>
						<span><text>￥</text>{{val.sell_price}}<text></text></span>
						<i>￥{{val.market_price}}</i>
					</view>
				</view>
			</main>
		</view>
		<image src="../../static/home/11.png" mode="widthFix"></image>
		<h1>产品分类</h1>
		<main>
			<view v-for="val in list" :key="val.id"
				@click="spik('pages/homeList/seckill/seckill?title='+val.title+'&category_id='+val.id+'&img='+val.img)">
				<p>{{val.title}}</p>
				<image :src="URLimg+val.img" mode="aspectFill"></image>
			</view>
		</main>
		<view class="announcement" @click="spik('pages/homeList/headline/headline')">
			<span>商城头条</span>
			<u-notice-bar v-if="data.tips.title" :text="data.tips.title" bgColor="#FFFFFF00" fontSize="24"
				color="#666666" :icon="null"></u-notice-bar>
			<i>更多></i>
		</view>
		<view class="miscellany">
			<view @click="spik('pages/homeList/pointsshop/pointsshop')">
				<image mode="widthFix" src="../../static/home/12.png"></image>
				积分商城
			</view>
			<view @click="spik('pages/my/collect')">
				<image mode="widthFix" src="../../static/home/13.png"></image>
				我的收藏
			</view>
			<view @click="spik('pages/homeList/agreement/agreement?title=会员中心&type=member_center')">
				<image mode="widthFix" src="../../static/home/14.png"></image>
				会员中心
			</view>
			<view @click="showToast">
				<image mode="widthFix" src="../../static/home/15.png"></image>
				直播
			</view>
		</view>
		<view class="relation">
			<main>
				<view :style="'animation-duration: '+1*data.broadcast.length+'s;'">
					<p v-for="(val,ins) in data.broadcast" :key="ins"><i></i><span>恭喜{{val.moblie}}{{val.desc}}</span>
					</p>
				</view>
				<view :style="'animation-duration: '+1*data.broadcast.length+'s;'">
					<p v-for="(val,ins) in data.broadcast" :key="ins"><i></i><span>恭喜{{val.moblie}}{{val.desc}}</span>
					</p>
				</view>
			</main>
			<span>联系方式：{{data.shop.shop_telephone}}</span>
			<p @click="getLocation">店铺地址：<span>{{data.shop.shop_address}}</span>
				<image src="../../static/home/18.png" mode="widthFix"></image>
			</p>
		</view>
		<!-- 签到 -->
		<u-popup :show="signin" :safeAreaInsetBottom="false" mode="center" :round="30">
			<view class="signin_popup">
				<h1>{{title}}</h1>
				<p>可在个人中心 > 积分明细中查看</p>
				<image @click="accomplish" src="../../static/home/21.png" mode="widthFix"></image>
			</view>
		</u-popup>
		<!-- 新人福利 -->
		<u-popup :show="weal" :safeAreaInsetBottom="false" @close="close('weal')" mode="center" :round="30">
			<view class="weal_popup">
				<p>{{coupon.coupon_name}}券已为您奉上，请点击领取</p>
				<button @click="setUserCoupon">立即领取</button>
			</view>
		</u-popup>
		<!-- 视频弹窗 -->
		<view class="play" v-if="videoShow">
			<video v-if="data.is_view==1" class="videoid" :src="URLimg+data.vidoe.banner" controls></video>
			<image @click="close('videoShow')" src="../../static/home/21.png" mode="widthFix"></image>
		</view>
		<!-- 优惠卷 -->
		<u-popup :show="couponShow" :safeAreaInsetBottom="false" mode="center" @close="close('couponShow')" :round="30">
			<view class="coupon_popup">
				<scroll-view scroll-y class="main">
					<view class="list" v-for="val in data.coupon_list" :key="val.id">
						<view>
							<p><text>￥</text>{{val.amount}}</p>
							<span>{{val.less_amount?'满'+val.less_amount:'无门槛'}}</span>
						</view>
						<p>{{val.coupon_name}}<span>有效期至：{{val.end_time}}</span></p>
					</view>
				</scroll-view>
				<button @click="setUserCoupons">立即领取</button>
			</view> 
		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',
				videoShow: false,
				URLimg: this.URLimg,
				apifun: this.apifun,
				weal: false,
				signin: false,
				couponShow: false,
				top: 0,
				height: 0,
				index: 0,
				list: [],
				coupon: {},
				data: {
					broadcast: [],
					is_view: 0,
					coupon_list: [],
					coupon: [],
					banner_list: [],
					tips: {},
					shop: {},
					vidoe: {},
					goods: {
						new_product: [],
						recommend: [],
						seckill: [],
						goods: [],
					}
				}
			};
		},
		onShow() {
			this.couponShow = false
			this.categoryList()
			this.indexdata()
		},
		onLoad() {
			let ClientRect = {}
			// #ifdef MP-WEIXIN
			ClientRect = wx.getMenuButtonBoundingClientRect()
			// #endif
			this.top = Number(ClientRect.top) || 0
			this.height = Number(ClientRect.height) || 0
			uni.setStorageSync('headerHome', {
				top: this.top,
				height: this.height
			})
			uni.setStorageSync('header', {
				top: this.top || 44,
				height: this.height || 44
			})
			wx.showShareMenu({
				withShareTicket: true,
				menus: ['shareAppMessage', 'shareTimeline']
			})
		},
		methods: {
			getLocation(res) {
				uni.openLocation({
					latitude: Number(this.data.shop.shop_lat),
					longitude: Number(this.data.shop.shop_lng),
					name: this.data.shop.shop_name,
					address: this.data.shop.shop_address,
					success: function() {
						console.log('success');
					}
				});
			},
			showToast() {
				uni.showToast({
					title: '开发中',
					icon: 'none'
				});
			},
			spik(url) {
				let pages = [
					'pages/homeList/detailedness/detailedness',
					'pages/homeList/search/search',
					'pages/my/collect',
				]
				let judge = pages.find(val => {
					const regex = new RegExp(val);
					let isMatch = regex.test(url);
					return isMatch
				})
				if (judge && !uni.getStorageSync('token')) {
					return uni.showToast({
						title: '请先前往我的页面登录后查看。',
						icon: 'none',
					});
				}
				uni.navigateTo({
					url: '/' + url
				});
			},
			change(res) {
				this.index = res.detail.current
			},
			close(variate) {
				this[variate] = false
				if (this.data.coupon_list.length && variate == 'videoShow') {
					this.couponShow = true
				}
			},
			accomplish() {
				this.signin = false
			},
			indexdata() {
				this.apifun.unirequest('/api/index/indexdata', 'post', {}, (res) => {
					this.data = res.data
					if (!this.videoShow && this.data.coupon_list.length && !this.signin) {
						this.couponShow = true
					}
					uni.setStorageSync('isView', this.data.is_view)
					if (this.data.is_view == 1) {
						this.videoShow = uni.getStorageSync('homeindex') != 1
						uni.setStorageSync('homeindex', 1)
					}
				}, true)
			},
			categoryList() {
				this.apifun.unirequest('/api/index/categoryList', 'post', {}, (res) => {
					this.list = res.data
				}, true)
			},
			signIn() {
				this.apifun.unirequest('/api/User/signIn', 'post', {}, (res) => {
					this.title = res.data
					this.signin = true
					this.indexdata()
				})
			},
			setUser(val) {
				this.weal = true
				this.coupon = val
			},
			setUserCoupons() {
				if (!uni.getStorageSync('token')) {
					this.apifun.toast('您尚未登录；前去登录！')
					setTimeout(() => {
						uni.switchTab({
							url: '/pages/tabbar/my'
						})
					}, 1000)
					return
				}
				let couponarr = []
				this.data.coupon_list.forEach(val => {
					couponarr.push(val.id)
				})
				this.apifun.unirequest('/api/coupon/setUserCoupon', 'post', {
					coupon_id: couponarr
				}, (res) => {
					this.couponShow = false
					this.indexdata()
				})
			},
			setUserCoupon() {
				if (!uni.getStorageSync('token')) {
					this.apifun.toast('您尚未登录；前去登录！')
					setTimeout(() => {
						uni.switchTab({
							url: '/pages/tabbar/my'
						})
					}, 1000)
					return
				}
				this.apifun.unirequest('/api/coupon/setUserCoupon', 'post', {
					coupon_id: this.coupon.id
				}, (res) => {
					this.weal = false
					this.indexdata()
				})
			}
		},
		onPullDownRefresh() {
			this.page = 1;
			uni.stopPullDownRefresh();
		},
	};
</script>

<style lang="scss">
	.home {
		color: #333333;
		padding-bottom: 40rpx;
		background: url('https://jewelry.hn8090kj.com/uploads/image/17.png') no-repeat 100% 100%;
		background-size: 100%;

		.coupon_popup {
			width: 620rpx;
			height: 464rpx;
			background: url('https://jewelry.hn8090kj.com/uploads/image/20.png') no-repeat;
			background-size: 100%;
			padding-top: 1rpx;
			display: flex;
			align-items: center;
			flex-direction: column;

			&>button {
				width: 288rpx;
				height: 80rpx;
				background: #D31E11;
				border-radius: 40rpx;
				line-height: 80rpx;
				color: #fff;
			}

			&>.main {
				width: 540rpx;
				height: 250rpx;
				margin: 60rpx 0 40rpx 0;

				.list {
					width: 100%;
					height: 220rpx;
					background: url('../../static/home/28.png') no-repeat;
					background-size: 100% 100%;
					display: flex;
					align-items: center;
					color: #fff;
					margin-bottom: 20rpx;

					&>p {
						flex: 1;
						display: flex;
						flex-direction: column;
						font-size: 15px;

						&>span {
							font-size: 10px;
							margin-top: 12rpx;
						}
					}

					&>view {
						width: 194rpx;
						display: flex;
						flex-direction: column;
						padding-left: 50rpx;
						box-sizing: border-box;
						margin-right: 30rpx;

						&>sapn {
							font-size: 12px;
							margin-top: 4rpx;
						}

						&>p {
							font-size: 25px;
							font-weight: bold;

							&>text {
								font-size: 12px;
								font-weight: 400;
							}
						}
					}
				}
			}
		}

		&>.play {
			width: 100vw;
			height: 100vh;
			background: rgba(0, 0, 0, 0.54);
			position: fixed;
			top: 0;
			left: 0;
			z-index: 99999;

			&>image {
				width: 50rpx;
				position: fixed;
				left: 50%;
				bottom: calc(50% - 570rpx);
				transform: translateX(-50%);
				@include cssimg;
			}

			&>.videoid {
				width: 640rpx;
				height: 900rpx;
				border-radius: 20rpx;
				position: fixed;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				z-index: 99999;
			}
		}

		@keyframes example {
			0% {
				transform: translateY(0%);
			}

			100% {
				transform: translateY(-100%);
			}
		}

		.weal_popup {
			width: 620rpx;
			height: 334rpx;
			background: url('https://jewelry.hn8090kj.com/uploads/image/20.png');
			background-size: 100% 100%;
			padding-top: 1rpx;
			display: flex;
			align-items: center;
			flex-direction: column;

			&>button {
				width: 288rpx;
				height: 80rpx;
				background: #D31E11;
				border-radius: 40rpx;
				line-height: 80rpx;
				color: #fff;
				margin-top: 78rpx;
			}

			&>p {
				font-size: 30rpx;
				font-weight: bold;
				text-align: center;
				margin-top: 81rpx;
			}
		}

		.signin_popup {
			width: 620rpx;
			height: 334rpx;
			background: url('https://jewelry.hn8090kj.com/uploads/image/20.png');
			background-size: 100% 100%;
			padding-top: 1rpx;
			position: relative;

			&>p {
				font-size: 28rpx;
				text-align: center;
				margin-top: 53rpx;
				color: #666666;
			}

			&>h1 {
				font-size: 40rpx;
				font-weight: bold;
				text-align: center;
				margin-top: 89rpx;
			}

			&>image {
				width: 50rpx;
				position: absolute;
				left: 50%;
				bottom: -90rpx;
				transform: translateX(-50%);
				@include cssimg;
			}
		}

		&>.relation {
			width: 690rpx;
			background: rgba(255, 253, 249, 0.52);
			border-radius: 10rpx;
			margin: 0 auto;
			padding: 20rpx 12rpx 20rpx;
			box-sizing: border-box;

			&>p {
				display: flex;
				margin-top: 32rpx;

				&>span {
					flex: 1;
					margin-right: 30rpx;
				}

				&>image {
					width: 32rpx;
					margin-top: 8rpx;
					@include cssimg;
				}
			}

			&>p,
			&>span {
				font-size: 15px;
				color: #666666;
				font-weight: bold;
			}

			&>main {
				width: 100%;
				height: 220rpx;
				margin-bottom: 40rpx;
				overflow: hidden;

				&>view {
					width: 100%;
					animation-name: example;
					animation-timing-function: linear;
					animation-iteration-count: infinite;

					&>p {
						width: 100%;
						height: calc(220rpx / 4);
						font-size: 12px;
						font-weight: bold;
						color: #666666;
						display: flex;
						align-items: center;

						&>span {
							flex: 1;
							@include csstext(1);
						}

						&>i {
							width: 14rpx;
							height: 14rpx;
							border-radius: 50%;
							background-color: #A21F15;
							margin: 4rpx 16rpx 0rpx 10rpx;
						}
					}
				}
			}
		}

		&>.miscellany {
			width: 690rpx;
			margin: 30rpx auto;
			display: flex;

			&>view {
				display: flex;
				align-items: center;
				flex-direction: column;
				justify-content: center;
				flex: 1;
				font-size: 14px;
				font-weight: bold;

				&>image {
					width: 120rpx;
					margin-bottom: 20rpx;
					@include cssimg;
				}
			}
		}

		&>.announcement {
			width: 690rpx;
			height: 90rpx;
			border-radius: 10rpx;
			margin: 30rpx auto;
			display: flex;
			align-items: center;
			background-color: #fff;

			&>i {
				font-size: 12px;
				color: #999999;
				margin-right: 10rpx;
			}

			&>span {
				width: 160rpx;
				height: 26rpx;
				border-right: 1rpx solid #878787;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 15px;
				font-weight: bold;
			}
		}

		&>main {
			width: 690rpx;
			margin: 80rpx auto 0;
			display: flex;
			flex-wrap: wrap;

			&>view:nth-child(3n) {
				margin-right: 0;
			}

			&>view {
				width: 216rpx;
				height: 280rpx;
				background: url('../../static/home/10.png') no-repeat;
				background-size: 100% 100%;
				margin: 0 20rpx 20rpx 0;
				padding: 0rpx 14rpx 14rpx;
				box-sizing: border-box;
				display: flex;
				flex-direction: column;

				&>p {
					flex: 1;
					width: 100%;
					display: flex;
					align-items: center;
					justify-content: center;
					font-size: 15px;
					color: #666666;
					font-weight: bold;
					text-align: center;
				}

				&>image {
					width: 190rpx;
					height: 172rpx;
					border-radius: 20rpx;
					display: block;
					@include cssimg;
				}
			}
		}

		&>h1 {
			text-align: center;
			color: #333;
			font-size: 18px;
			font-weight: bold;
		}

		&>image {
			display: block;
			width: 600rpx;
			@include cssimg;
			margin: 80rpx auto 0;
		}

		&>.classify {
			width: 690rpx;
			margin: 20rpx auto;

			&>main {
				display: flex;

				&>view:nth-last-child(1) {
					margin-right: 0;
				}

				&>view {
					width: 216rpx;
					height: 316rpx;
					background: url('../../static/classifybg.png') no-repeat;
					background-size: 100% 100%;
					margin-right: 22rpx;
					padding: 20rpx;
					box-sizing: border-box;

					&>view {
						display: flex;
						flex-direction: column;
						font-weight: bold;

						&>i {
							font-size: 10px;
							line-height: 12px;
							color: #B5B5B5;
							margin-top: 4rpx;
							text-decoration: line-through;
						}

						&>span {
							font-size: 16px;
							line-height: 17px;
							color: #F1221B;

							&>text {
								font-size: 12px;
							}
						}
					}

					&>p {
						font-size: 14px;
						line-height: 17px;
						font-weight: bold;
						@include csstext(1);
					}

					&>image {
						width: 180rpx;
						height: 180rpx;
						border-radius: 20rpx;
						display: block;
						margin-bottom: 10rpx;
						@include cssimg;
					}
				}
			}

			&>header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				height: 74rpx;
				font-size: 18px;
				font-weight: bold;

				&>p {
					display: flex;
					align-items: center;
					color: #666666;
					font-size: 12px;
					font-weight: 400;

					&>.u-icon {
						display: inline-block;
						margin-left: 12rpx;
					}
				}
			}
		}

		&>.signIn {
			width: 690rpx;
			margin: 20rpx auto;
			display: flex;
			justify-content: space-between;

			&>p {
				width: 106rpx;
				height: 140rpx;
				border-radius: 20rpx;
				background-color: #9E190F;
				color: #fff;
				font-weight: bold;
				font-size: 36rpx;
				padding: 0 17rpx;
				display: flex;
				align-items: center;
				box-sizing: border-box;
			}

			&>.coupon {
				width: 570rpx;
				height: 140rpx;
				border-radius: 20rpx;
				display: flex;
				align-items: center;
				background: url('https://jewelry.hn8090kj.com/uploads/image/16.png');
				background-size: 100% 100%;

				&>view {
					width: 206rpx;
					height: 116rpx;
					background-color: #fff;
					padding: 10rpx 0 0 16rpx;
					box-sizing: border-box;
					font-size: 14px;
					font-weight: bold;
					border-radius: 20rpx;
					margin-right: 16rpx;

					&>view {
						display: flex;
						align-items: center;
						justify-content: space-between;
						font-weight: 400;

						&>span {
							width: 100rpx;
							height: 40rpx;
							border-radius: 20rpx;
							background-color: #9E190F;
							color: #fff;
							font-size: 10px;
							display: flex;
							align-items: center;
							justify-content: center;
							margin-right: 10rpx;
						}

						&>p {
							display: flex;
							flex-direction: column;
							font-size: 10px;
							color: #999999;

							&>span {
								font-size: 14px;
								color: #333333;
								font-weight: bold;

								&>text {
									font-size: 10px;
									font-weight: 400;
								}
							}
						}
					}
				}

				&>span {
					width: 128rpx;
					font-size: 36rpx;
					color: #9E190F;
					font-weight: bold;
					padding: 0 24rpx;
					box-sizing: border-box;
				}
			}
		}

		&>nav {
			width: 690rpx;
			margin: 20rpx auto;
			display: flex;
			justify-content: space-between;

			&>.introduce {
				width: 336rpx;
				height: 200rpx;
				border-radius: 20rpx;
				position: relative;

				&>span {
					position: absolute;
					right: 0;
					top: 0;
					background-color: #9E190F;
					border-radius: 0 20rpx 0 20rpx;
					color: #fff;
					font-size: 10px;
					padding: 0 14rpx;
					height: 40rpx;
					line-height: 40rpx;
				}

				&>image {
					width: 336rpx;
					height: 200rpx;
					border-radius: 20rpx;
					@include cssimg;
				}
			}

			&>.swiper {
				width: 336rpx;
				height: 200rpx;
				position: relative;
				position: relative;

				&>p {
					position: absolute;
					right: 28rpx;
					bottom: 18rpx;
					height: 4rpx;
					display: flex;
					z-index: 990;

					&>.optFor {
						width: 26rpx !important;
						background-color: #FF7B34 !important;
					}

					&>span {
						width: 10rpx;
						height: 4rpx;
						background-color: #CBCBCB;
						margin-left: 6rpx;
						transition: all .3s;
					}
				}

				&>.x-swiper {
					width: 336rpx;
					height: 200rpx;
					border-radius: 20rpx;
					overflow: hidden;

					image {
						width: 336rpx;
						height: 200rpx;
						border-radius: 20rpx;
						@include cssimg;
					}
				}
			}
		}

		&>header {
			width: 750rpx;
			margin: 0 auto;
			position: sticky;
			top: 0;
			z-index: 999;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			flex-direction: column;

			&>view {
				width: 690rpx;
				height: 70rpx;
				border-radius: 35rpx;
				background-color: #fff;
				z-index: 999;
				margin-top: 90px;
				display: flex;
				align-items: center;

				&>i {
					width: 160rpx;
					height: 60rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					color: #fff;
					background-color: #9E190F;
					border-radius: 30rpx;
					margin-right: 4rpx;
				}

				&>p {
					margin: 0 25rpx;
					flex: 1;
					font-size: 15px;
					color: #9E9E9E;
				}

				&>span {
					width: 89rpx;
					height: 40rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					border-right: 1rpx solid #E5E5E5;

					&>image {
						width: 36rpx;
						@include cssimg;
					}
				}
			}

			&>image {
				width: 100%;
				position: absolute;
				left: 50%;
				top: 50%;
				transform: translate(-50%, -50%);
				z-index: 998;
				@include cssimg;
			}
		}
	}
</style>